import request from '@/utils/request'

// 查询送报机构列表
export function listInvestPlanSending(query) {
  return request({
    url: '/sending/investPlanSending/list',
    method: 'get',
    params: query
  })
}

// 查询送报机构详细
export function getInvestPlanSending(id) {
  return request({
    url: '/sending/investPlanSending/' + id,
    method: 'get'
  })
}

// 保存送报机构
export function saveInvestPlanSending(data) {
  return request({
    url: '/sending/investPlanSending/save',
    method: 'post',
    data: data
  })
}

// 删除送报机构
export function delInvestPlanSending(id) {
  return request({
    url: '/sending/investPlanSending/' + id,
    method: 'delete'
  })
}

// 导出送报机构
export function exportInvestPlanSending(query) {
  return request({
    url: '/sending/investPlanSending/export',
    method: 'get',
    params: query
  })
}
